<h2 class="title">运输管理</h2>
<table class="tb_term" width="100%">
<tr>
	<td class="tr_td_width01 alignright">运输单号</td>
	<td class="tr_td_width03"><input type=text name="transport_no" value='{%$transport_no%}'  class="input_browse_stand txt-normal" readonly></td>
	<td class="tr_td_width02 alignright">申请时间</td>
	<td><input type=text name="app_time" class="input_date_browse txt-normal" value='{%$app_time|date_format:"%Y-%m-%d"%}' id="app_time" readonly>
	</td>
</tr>
<tr>
	<td class="alignright">审批单号</td>
	<td><input type=text name="reply_no" value='{%$reply_no%}' class="input_browse_stand txt-normal" readonly></td>
	<td class="alignright">起运日期</td>
	<td><input type=text name="start_time"  class="input_date_browse txt-normal" value='{%$start_time|date_format:"%Y-%m-%d"%}' id="start_time" readonly></td>
</tr>
<tr>
	<td class="alignright">预计到货日期</td>
	<td><input type=text name="v_end_time" class="input_date_browse txt-normal" value='{%$v_end_time|date_format:"%Y-%m-%d"%}' id="v_end_time" readonly></td>
	<td class="alignright">到货日期</td>
	<td><input type=text name="end_time" class="input_date_browse txt-normal" value='{%$end_time|date_format:"%Y-%m-%d"%}' id="end_time" readonly></td>
</tr>
<tr>
	<td  class="alignright">运输方式</td>
	<td>
		<select name="type_id" class="select_browse txt-normal" readonly>
			{%html_options options=$transport_type_arr selected=$type_id%}
		</select>
	</td>
	<td class="alignright">所属项目</td>
	<td>
		<select name="project_id" class="select_browse02 txt-normal" readonly>
		{%html_options options=$project_arr selected=$project_id%}
		</select>
	</td>
</tr>
<tr>
	<td class="alignright">物资描述</td>
	<td colspan="5">
		<textarea rows="3" class="textarea_browse txt-normal" id="materials_info" name="materials_info" readonly>{%$materials_info%}</textarea>
	</td>
</tr>
<tr>
	<td class="alignright">备注</td>
	<td colspan="5">
		<textarea rows="3" class="textarea_browse txt-normal" id="info" name="info" readonly>{%$info%}</textarea>
	</td>
</tr>
</table>
<p class="btn_right">	
	<button type="button" class="b-default" hidefocus="true" onclick="window.location.href='index.php?c=zy_transport_track_list&m=add&transport_track_id={%$transport_track_id%}'"><span><em>添加</em></span></button>
	<button type="button" class="b-default" hidefocus="true" onclick="window.location.href='index.php?c=zy_transport_track_list&m=imports&transport_track_id={%$transport_track_id%}'"><span><em>导入</em></span></button>
	<button type="button" class="b-default" hidefocus="true" onclick="window.location.href='index.php?c=zy_transport_track'"><span><em>返回</em></span></button>
</p>
<h2 class="title">运输明细</h2>
<table class="tb_list" width="100%">
<tr class="title">
	<td class="list_td_zw_03">箱号</td>
	<td class="list_td_zw_10">物资编号</td>
	<td class="list_td_zw_10">中文名称</td>
	<td class="list_td_zw_10">英文名称</td>
	<td>规格型号</td>
	<td class="list_td_zw_03">单价</td>
	<td class="list_td_zw_02">数量</td>
	<!--
	<td>金额</td>
	<td>采购记录编号</td>
	<td>合同号</td>
	<td>订单号/批次</td>
	-->
	<td class="list_td_zw_opt03">操作</td>
</tr>
{%foreach from=$transport_arr item=list%}
<tr>
	<td>{%$list.box_no%}</td>
	<td>{%$list.materials_no%}</td>
	<td class="alignleft" title="{%$list.cn_name%}">{%cut_str str=$list.cn_name sublen=10%}</td>
	<td class="alignleft" title="{%$list.en_name%}">{%cut_str str=$list.en_name sublen=10%}</td>
	<td class="alignleft" title="{%$list.specification%}">{%$list.specification%}</td>
	<td>{%$list.price%}</td>
	<td>{%$list.number%}</td>
	<!--
	<td>{%$list.price * $list.number%}</td>
	<td>{%$list.plan_no%}</td>
	<td>{%$list.contract%}</td>
	<td>{%$list.order_no%}</td>
	-->
	<td>
		<a href='index.php?c=zy_transport_track_list&m=edit&is_show=1&list_id={%$list.list_id%}'>查看</a>&nbsp;
		<a href='index.php?c=zy_transport_track_list&m=edit&&list_id={%$list.list_id%}'>修改</a>&nbsp;
		<a href='index.php?c=zy_transport_track_list&m=del&&list_id={%$list.list_id%}&transport_track_id={%$smarty.get.transport_track_id%}' onclick="return confirm('您确认删除吗？')">删除</a>
	</td>
</tr>
{%foreachelse%}
<tr><td colspan="8">暂无内容</td></tr>
{%/foreach%}
</table>
<div class="pagenation aligncenter">
	<div id="pager">{%$page_footer%}</div>
</div>
<div class="empty_div"></div>